<style include="cr-shared-style">
  .body {
    white-space: pre-wrap;
    word-break: break-word;
  }
</style>

<cr-dialog id="dialog" close-text="$i18n{close}">
  <div class="title" slot="title">[[title_]]</div>
  <!-- No whitespace or new-lines allowed within the div.body tag. -->
  <div class="body" slot="body">[[model.message]]</div>
  <div class="button-container" slot="button-container">
    <cr-button class$="[[getCancelButtonClass_(confirmLabel_)]]"
        on-click="onCancelTap_" hidden="[[!cancelLabel_]]">
      [[cancelLabel_]]
    </cr-button>
    <cr-button class="action-button" on-click="onConfirmTap_"
        hidden="[[!confirmLabel_]]">
      [[confirmLabel_]]
    </cr-button>
  </div>
</cr-dialog>
